package com.SouthernWall_404.Age_Capitalism.common.API;

public class WalletContains {

    public int amount_100;
    public int amount_50;
    public int amount_20;
    public int amount_10;
    public int amount_5;
    public int amount_1;
    public int amount_05;
    public int amount_01;

    public float total;

    public WalletContains(int amount_100, int amount_50, int amount_20, int amount_10, int amount_5, int amount_1, int amount_05, int amount_01) {
        this.amount_100 = amount_100;
        this.amount_50 = amount_50;
        this.amount_20 = amount_20;
        this.amount_10 = amount_10;
        this.amount_5 = amount_5;
        this.amount_1 = amount_1;
        this.amount_05 = amount_05;
        this.amount_01 = amount_01;

        total=
                this.amount_100*100+
                        this.amount_50*50+
                        this.amount_20*20+
                        this.amount_10*10+
                        this.amount_5*5+
                        this.amount_1*1+
                        this.amount_05*0.5f+
                        this.amount_01*0.1f;
    }

}
